package com.chenhao.generator.controller.vo;

import lombok.Data;

import java.util.List;

/**
 * 树形文件返回实体
 *
 * @author:chenHao
 * @version:1.0
 * @since:1.0
 * @createTime:2019-10-02
 */
@Data
public class FileTreeVO {

    private Integer id;

    private Integer pid;

    private String title;

    private String filePath;

    /**
     * 节点是否初始展开，默认 false
     */
    private Boolean spread = true;

    /**
     * 是否是文件夹 true是文件夹
     */
    private Boolean isDirectory;

    /**
     * 子节点
     */
    private List<FileTreeVO> children;


}
